Example 8 - Create JPG bitmaps

 

This example shows how to create a JPG picture of a schedule.

 

 

 

Public Sub CreateJPGBitmaps()

Set objMilestones = CreateObject("Milestones")

With objMilestones

  .Activate

  .SetStartAndEndDates "1/1/2022","2/22/2023"

  .AddTaskUsingDuration 1, "7/12/2022", 2, 5, 2, 2, 65, "Day", 12, 0, "Create Using Days"

  .AddTaskUsingDuration 2, "9/11/2022", 2, 5, 2, 2, 65, "Day", 12, 0, "Create Using Days"

  .Refresh

  .SaveBitmap "c:\example8.jpg"

  .Close

End With

Exit Sub

End Sub

 

 

 

Related Topics

  1. SetStartAndEndDates
  2. SaveBitmap
  3. SaveEMF
  4. SaveHTML
  5. SaveHTMLDrillDown
  6. SavePDF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.